let mongoose = require('mongoose')
mongoose
    .connect('mongodb://localhost:27017/list1225')
    .then((res) => {
        console.log('mongoDB 数据库连接成功...');
    })
    .catch((err) => {
        console.log(err);
    })

module.exports = mongoose